<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-wlAgv-add">
			<div class="form-group">	
				<label class="col-sm-3 control-label">规划路经：</label>
				<div class="col-sm-8">
					<input id="agvGhlj" name="agvGhlj" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单编号：</label>
				<div class="col-sm-8">
					<input id="orderCode" name="orderCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">计划号：</label>
				<div class="col-sm-8">
					<input id="planNo" name="planNo" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工装编号：</label>
				<div class="col-sm-8">
					<input id="gzNo" name="gzNo" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">当前小车地标：</label>
				<div class="col-sm-8">
					<input id="node" name="node" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">到达地标时间：</label>
				<div class="col-sm-8">
					<input id="gzDdtime" name="gzDdtime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">离开地标时间：</label>
				<div class="col-sm-8">
					<input id="gzLktime" name="gzLktime" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">AGV小车编号：</label>
				<div class="col-sm-8">
					<input id="agvCode" name="agvCode" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">地标状态，当小车到达时，地标被占用，值为1，当小车离开时，地标空闲，值为0：</label>
				<div class="col-sm-8">
					<input id="dbstatus" name="dbstatus" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">关联ID：</label>
				<div class="col-sm-8">
					<input id="taskid" name="taskid" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/wlAgv"
		$("#form-wlAgv-add").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/add", $('#form-wlAgv-add').serialize());
	        }
	    }
	</script>
</body>
</html>
